﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Orchard.Luo.Test
{
    public class Miguration : Orchard.Data.Migration.DataMigrationImpl
    {
        public int Create()
        {
            SchemaBuilder.CreateTable("TestRecord", table => table
                .ContentPartRecord()
                .Column<string>("Name", column => column.WithLength(50))
                .Column<decimal>("Price")
                );

            return 1;
        }
    }
}
